package com.scommunity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.scommunity.admin.vo.BuildingQO;
import com.scommunity.domain.Building;

import java.util.List;

public interface IBuildingService extends IService<Building> {
    PageInfo<Building> findPageInfoByCondition(BuildingQO buildingQO, int pageNum, int pageSize);

    List<Building> getAll();

    List<Building> getAllByStatus();

    void add(Building building);

    void update(Building building);

    void del(String id);

    int getStatuseById(String id);

}
